package com.example.boot.rabbitmq.producer.demo.config.direct;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author ccubee
 * @since 21-3-6 22:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@Configuration
@ConfigurationProperties(prefix = "rabbit2.direct")
@EnableConfigurationProperties(RabbitDirectProperties.class)
public class RabbitDirectProperties {


    private String directExchange;
    private String directQueue;
    private String directKey;




}
